home *** CD-ROM | disk | FTP | other *** search
/ Master Visual Basic 3 / Master Visual Basic 3 (SAMS Publishing) (1994).ISO / mvprog / original / ch04 / mymdi.bas < prev    next >
Encoding:
BASIC Source File  |  1994-03-22  |  881 b   |  28 lines

  1. Option Explicit
  2.  
  3.  
  4. ' Declare a variable the will hold the session number.
  5. Global ggSessionNumber
  6.  
  7. ' Declare constants
  8. Global Const SP_START_OF_FILE = -1
  9. Global Const SP_END_OF_FILE = -2
  10.  
  11. ' Declare the sp_OpenSession() function from
  12. ' the TegoSND.DLL library.
  13. Declare Function sp_OpenSession Lib "TegoSND.DLL" (ByVal lpstrFileName As String) As Integer
  14.  
  15. ' Declare the sp_PlaySnd() function from
  16. ' the TegoSND.DLL library.
  17. Declare Function sp_PlaySnd Lib "TegoSND.DLL" (ByVal iSessionHandler As Integer, ByVal lStartPoint As Long, ByVal lEndPoint As Long) As Long
  18.  
  19. ' Declare the sp_CloseSession() function from
  20. ' the TegoSND.DLL library.
  21. Declare Function sp_CloseSession Lib "TegoSND.DLL" (ByVal iSessionHandler As Integer) As Integer
  22.  
  23. Global Const CASCADE = 0
  24. Global Const TILE_HORIZONTAL = 1
  25. Global Const TILE_VERTICAL = 2
  26. Global Const ARRANGE_ICONS = 3
  27.  
  28.